<?php
class Application_Model_CheckCardRequest
{
    private $cardName;
    private $cardAmount;
    private $cardNumber;
    private $cardType;
    private $expdate;
    public function __construct ($parameters)
    {
        if (is_array($parameters)) {
            if (key_exists("cardName", $parameters)) {
                $this->setCardName($parameters["cardName"]);
            }
            if (key_exists("cardAmount", $parameters)) {
                $this->setCardAmount($parameters["cardAmount"]);
            }
            if (key_exists("cardNumber", $parameters)) {
                $this->setCardNumber($parameters["cardNumber"]);
            }
            if (key_exists("cardType", $parameters)) {
                $this->setCardType($parameters["cardType"]);
            }
            if (key_exists("expdate", $parameters)) {
                $this->setExpdate($parameters["expdate"]);
            }
        }
    }
    /**
     * @return the $cardName
     */
    public function getCardName ()
    {
        return $this->cardName;
    }
    /**
     * @return the $cardAmount
     */
    public function getCardAmount ()
    {
        return $this->cardAmount;
    }
    /**
     * @return the $cardNumber
     */
    public function getCardNumber ()
    {
        return $this->cardNumber;
    }
    /**
     * @return the $cardType
     */
    public function getCardType ()
    {
        return $this->cardType;
    }
    /**
     * @return the $expdate
     */
    public function getExpdate ()
    {
        return $this->expdate;
    }
    /**
     * @param field_type $cardName
     */
    public function setCardName ($cardName)
    {
        $this->cardName = $cardName;
    }
    /**
     * @param field_type $cardAmount
     */
    public function setCardAmount ($cardAmount)
    {
        $this->cardAmount = $cardAmount;
    }
    /**
     * @param field_type $cardNumber
     */
    public function setCardNumber ($cardNumber)
    {
        $this->cardNumber = $cardNumber;
    }
    /**
     * @param field_type $cardType
     */
    public function setCardType ($cardType)
    {
        $this->cardType = $cardType;
    }
    /**
     * @param field_type $expdate
     */
    public function setExpdate ($expdate)
    {
        $this->expdate = $expdate;
    }
}

